# -*- coding: utf-8 -*-

import cgi
import os
import string
import wsgiref.handlers

from google.appengine.ext.webapp import template
from google.appengine.ext import webapp

from google.appengine.ext import db

from google.appengine.api import users
from google.appengine.api import memcache


class ValidUserController(webapp.RequestHandler):
	greetingman = GreetingManager()

	def get(self):
		userId = self.request.get('user_id')
		appId = self.request.get('app_id')
		appInstanceId = self.request.get('app_instance_id')

		template_values = {

		}

		path = os.path.join(os.path.dirname(__file__), 'ConnectSip.html')
		self.response.out.write(template.render(path, template_values))

def main():
	application = webapp.WSGIApplication(
                                       [('*', ValidUserController)],
                                       debug=True)
	wsgiref.handlers.CGIHandler().run(application)

if __name__ == "__main__":
	main()